#home {
    font-size: 12px;
    width: 7.5rem;
    height: 100%;
    margin: 0 atuo;
    overflow-x: hidden;
    .rule {
      width: 0.83rem;
      height: 0.44rem;
      background: rgba(252, 158, 54, 1);
      border-radius: 0 0.22rem 0.22rem 0;
      -webkit-border-radius: 0 0.22rem 0.22rem 0;
      position: absolute;
      left: 0;
      top: 0.17rem;
      font-size: 0.26rem;
      font-family: MicrosoftYaHei;
      font-weight: 400;
      color: rgba(255, 249, 186, 1);
      text-align: center;
      line-height: 0.44rem;
      z-index: 10;
    }
    .mainBg {
      width: 7.5rem;
      height: 4.2rem;
      background: -webkit-gradient(
        linear,
        left bottom, left top,
        from(rgba(255, 247, 234, 1)),
        to(rgba(255, 241, 212, 1))
      );
      background: linear-gradient(
        0deg,
        rgba(255, 247, 234, 1) 0%,
        rgba(255, 241, 212, 1) 100%
      );
      border-radius: 0 0 50% 50%;
      -webkit-border-radius: 0 0 50% 50%;
      -moz-border-radius: 0 0 50% 50%;
      -ms-border-radius: 0 0 50% 50%;
      -o-border-radius: 0 0 50% 50%;
      position: relative;
      .mainBgTitle {
        width: 100%;
        height: 1.16rem;
        line-height: 1.16rem;
        font-size: 0.36rem;
        text-align: center;
        font-family: SourceHanSansCN-Bold;
        font-weight: bold;
        color: rgba(246, 97, 94, 1);
        position: absolute;
        top: 0;
        left: 0;
      }
      .card {
        width: 6.8rem;
        height: 3.15rem;
        -webkit-box-shadow: 0px 0rem 0.38rem 0px rgba(246, 100, 93, 0.48);
        box-shadow: 0px 0rem 0.38rem 0px rgba(246, 100, 93, 0.48);
        border-radius: 0.15rem;
        -webkit-border-radius: 0.15rem;
        -moz-border-radius: 0.15rem;
        -ms-border-radius: 0.15rem;
        -o-border-radius: 0.15rem;
        margin: 0 auto;
        background: url(https://res.youth.cn/newActive/allCash/topBg.png);
        background-size: 100% 100%;
        position: absolute;
        left: 0.35rem;
        top: 1.06rem;
        .cashBtn {
          width: 100%;
          height: 1rem;
          .cardLeft {
            font-size: 0.36rem;
            font-family: SourceHanSansCN-Regular;
            font-weight: 400;
            color: rgba(255, 255, 255, 1);
            margin-left: 0.4rem;
          }
          .cardRight {
            width: 1.6rem;
            height: 0.54rem;
            background: rgba(255, 255, 255, 1);
            border-radius: 0.27rem;
            -webkit-border-radius: 0.27rem;
            -moz-border-radius: 0.27rem;
            -ms-border-radius: 0.27rem;
            -o-border-radius: 0.27rem;
            font-size: 0.28rem;
            font-family: SourceHanSansCN-Medium;
            font-weight: 500;
            color: rgba(247, 99, 93, 1);
            text-align: center;
            line-height: 0.56rem;
            margin-right: 0.4rem;
            margin-top: 0.16rem;
          }
        }
        .numMoney {
          font-size: 0.7rem;
          font-family: SourceHanSansCN-Bold;
          font-weight: bold;
          color: rgba(255, 255, 255, 1);
          text-indent: 0.4rem;
          margin-top: -0.2rem;
        }
        .cardInfo {
          font-size: 0.24rem;
          font-family: SourceHanSansCN-Normal;
          font-weight: 400;
          color: rgba(255, 255, 255, 1);
          text-indent: 0.4rem;
          margin-top: 0.1rem;
        }
        .cardBottom {
          width: 6.8rem;
          height: 0.68rem;
          background: -webkit-gradient(
            linear,
            left top, right top,
            from(rgba(250, 185, 55, 1)),
            to(rgba(246, 95, 95, 1))
          );
          background: linear-gradient(
            90deg,
            rgba(250, 185, 55, 1) 0%,
            rgba(246, 95, 95, 1) 100%
          );
          border-radius: 0.15rem;
          -webkit-border-radius: 0.15rem;
          -moz-border-radius: 0.15rem;
          -ms-border-radius: 0.15rem;
          -o-border-radius: 0.15rem;
          position: absolute;
          left: 0;
          bottom: 0;
          p {
            font-size: 0.24rem;
            font-family: SourceHanSansCN-Regular;
            font-weight: 400;
            color: rgba(255, 255, 255, 1);
            opacity: 0.62;
            float: right;
            margin-right: 0.4rem;
            height: 100%;
            line-height: 0.68rem;
          }
        }
      }
    }
    // 没数据
    .noFriend {
      width: 100%;
      height: auto;
      margin-top: 1.4rem;
      .title {
        width: 6.84rem;
        height: 0.57rem;
        position: relative;
        img {
          width: 100%;
          height: 100%;
        }
      }
      .noDataImg {
        width: 2.2rem;
        height: 1.6rem;
        background: url("https://res.youth.cn/newActive/allCash/noData.png");
        background-size: 100% 100%;
        margin: 0.2rem auto;
        margin-top: 0.2rem;
      }
      .noDataInfo {
        font-size: 0.26rem;
        font-family: PingFang-SC-Medium;
        font-weight: 500;
        color: rgba(153, 153, 153, 1);
      }
      .invBtn {
        width: 6.6rem;
        height: 1rem;
        text-align: center;
        line-height: 0.95rem;
        font-size: 0.36rem;
        font-family: PingFang-SC-Medium;
        font-weight: 500;
        color: rgba(255, 255, 255, 1);
        background: url(https://res.youth.cn/newActive/allCash/invBtn.png);
        background-size: 100% 100%;
        margin-top: 0.33rem;
        -webkit-animation: scole 1s infinite;
                animation: scole 1s infinite;
      }
    }
    // 有数据
    .hasData {
      width: 100%;
      height: auto;
      width: 100%;
      margin-top: 1.2rem;
      .title {
        width: 6.84rem;
        height: 0.57rem;
        position: relative;
        margin: 0 auto;
        img {
          width: 100%;
          height: 100%;
        }
      }
      .invFriends {
        width: 100%;
        height: 2.6rem;
        margin-top: 0.1rem;
        .friendsItem {
          width: 1.3rem;
          margin: 0 0.25rem;
          .itemImg {
            width: 1.3rem;
            height: 1.3rem;
            border-radius: 50%;
            -webkit-border-radius: 50%;
            -moz-border-radius: 50%;
            -ms-border-radius: 50%;
            -o-border-radius: 50%;
            overflow: hidden;
            img {
              width: 100%;
              height: 100%;
            }
          }
          p {
            font-size: 0.26rem;
            font-family: PingFang-SC-Medium;
            font-weight: 500;
            color: rgba(0, 0, 0, 1);
            width: 100%;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            height: 0.5rem;
            position: relative;
            top: 0.1rem;
            text-align: center;
          }
        }
      }
      .invBtn {
        width: 6.8rem;
        height: 1rem;
        text-align: center;
        line-height: 0.95rem;
        font-size: 0.36rem;
        font-family: PingFang-SC-Medium;
        font-weight: 500;
        color: rgba(255, 255, 255, 1);
        background: url(https://res.youth.cn/newActive/allCash/invBtn.png);
        background-size: 100% 100%;
        margin: 0 auto;
        -webkit-animation: scole 1s infinite;
                animation: scole 1s infinite;
      }
    }
  
    .myFriends {
      width: 100%;
      height: auto;
      margin-top: 0.4rem;
      .title {
        width: 6.84rem;
        height: 0.57rem;
        position: relative;
        margin: 0 auto;
        img {
          width: 100%;
          height: 100%;
        }
      }
      .friendsList {
        width: 100%;
        height: auto;
        margin-bottom: 2rem;
        margin-top: 0.2rem;
        .friendItem {
          width: 6.9rem;
          height: 1.3rem;
          margin: 0 auto;
          .userinfo {
            width: 4.5rem;
            height: 100%;
            float: left;
            .userImg {
              width: 0.84rem;
              height: 0.84rem;
              background: rgba(242, 242, 242, 1);
              border-radius: 50%;
              position: relative;
              img {
                width: 100%;
                height: 100%;
                border-radius: 50%;
                position: absolute;
                left: 0;
                top: 0;
              }
            }
            .userName {
              margin-left: 0.3rem;
              width:auto;
              height: 100%;
              .name {
                width: 100%;
                height: 0.5rem;
                line-height: 0.5rem;
                font-size: 0.32rem;
                font-family: PingFang-SC-Medium;
                font-weight: 500;
                color: rgba(0, 0, 0, 1);
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
              }
              .time {
                font-size: 0.22rem;
                font-family: PingFang-SC-Medium;
                font-weight: 500;
                color: #999999;
                span {
                  color: #f6675c;
                }
              }
            }
          }
          .hotNum {
            width: 2.3rem;
            height: 100%;
            font-size: 0.26rem;
            font-family: SourceHanSansCN-Normal;
            font-weight: 400;
            color: rgba(255, 255, 255, 1);
            font-weight: 500;
            float: right;
            position: relative;
            div {
              width: 1.65rem;
              height: 0.56rem;
              background: -webkit-gradient(
                linear,
                left top, right top,
                from(rgba(254, 125, 33, 1)),
                to(rgba(253, 92, 74, 1))
              );
              background: linear-gradient(
                90deg,
                rgba(254, 125, 33, 1) 0%,
                rgba(253, 92, 74, 1) 100%
              );
              border-radius: 0.28rem;
              text-align: center;
              line-height: 0.58rem;
              -webkit-border-radius: 0.28rem;
              -moz-border-radius: 0.28rem;
              -ms-border-radius: 0.28rem;
              -o-border-radius: 0.28rem;
              z-index: 10;
              float: right;
              margin-top: 0.4rem;
            }
          }
        }
        .loadMore {
          // 加载更多
          width: 100%;
          height: 0.8rem;
          display: -webkit-box;
          display: -ms-flexbox;
          display: flex;
          -webkit-box-pack: center;
              -ms-flex-pack: center;
                  justify-content: center;
          -webkit-box-align: center;
              -ms-flex-align: center;
                  align-items: center;
          .icon {
            width: 0.4rem;
            height: 0.4rem;
            margin-right: 0.1rem;
            -webkit-animation: retate 1s linear infinite;
                    animation: retate 1s linear infinite;
            img {
              width: 100%;
              height: 100%;
            }
          }
          .loadingText {
            font-size: 0.26rem;
            color: #939393;
            margin-left: 0.1rem;
          }
        }
        .noData {
          width: 100%;
          height: 0.8rem;
          display: -webkit-box;
          display: -ms-flexbox;
          display: flex;
          -webkit-box-pack: center;
          -ms-flex-pack: center;
          justify-content: center;
          -webkit-box-align: center;
          -ms-flex-align: center;
          align-items: center;
        }
      }
      .loadMore {
        // 加载更多
        width: 100%;
        height: 0.8rem;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        .icon {
          width: 0.4rem;
          height: 0.4rem;
          margin-right: 0.1rem;
          -webkit-animation: retate 1s linear infinite;
                  animation: retate 1s linear infinite;
          img {
            width: 100%;
            height: 100%;
          }
        }
        .loadingText {
          font-size: 0.26rem;
          color: #939393;
          margin-left: 0.1rem;
        }
      }
    }
    @-webkit-keyframes retate {
      0% {
        -webkit-transform: rotate(0deg);
                transform: rotate(0deg);
      }
  
      100% {
        -webkit-transform: rotate(360deg);
                transform: rotate(360deg);
      }
    }
    @keyframes retate {
      0% {
        -webkit-transform: rotate(0deg);
                transform: rotate(0deg);
      }
  
      100% {
        -webkit-transform: rotate(360deg);
                transform: rotate(360deg);
      }
    }
   
    @-webkit-keyframes scole {
      0%{
        -webkit-transform:scale(0.9);
                transform:scale(0.9);
       
      }
      50%{
        -webkit-transform:scale(1);
                transform:scale(1);
      
  
      }
      100%{
        -webkit-transform:scale(0.9);
                transform:scale(0.9);
       
  
      }
    }
   
    @keyframes scole {
      0%{
        -webkit-transform:scale(0.9);
                transform:scale(0.9);
        
      }
      50%{
        -webkit-transform:scale(1);
                transform:scale(1);
       
  
      }
      100%{
        -webkit-transform:scale(0.9);
                transform:scale(0.9);
  
      }
    }
  
    .bottom {
      width: 100%;
      height: 1.26rem;
      position: fixed;
      left: 0;
      bottom: 0;
      z-index: 10;
      background: rgba(255, 255, 255, 1);
      -webkit-box-shadow: 0px -0.06rem 0.06rem 0px rgba(223, 195, 171, 0.2);
      box-shadow: 0px -0.06rem 0.06rem 0px rgba(223, 195, 171, 0.2);
      .bottomItem {
        width: 25%;
        height: 100%;
        position: relative;
        .itemImg {
          width: 0.6rem;
          height: 0.6rem;
        }
        .itemText {
          font-size: 0.24rem;
          font-family: PingFang-SC-Medium;
          font-weight: 500;
          color: rgba(51, 51, 51, 1);
          margin-top: 0.05rem;
        }
        .hot {
          width: 0.4rem;
          height: 0.3rem;
          background: -webkit-gradient(
            linear,
            left bottom, left top,
            from(rgba(247, 50, 24, 1)),
            to(rgba(255, 140, 56, 1))
          );
          background: linear-gradient(
            0deg,
            rgba(247, 50, 24, 1) 0%,
            rgba(255, 140, 56, 1) 100%
          );
          border-radius: 0.15rem 0.15rem 0.15rem 0px;
          font-size: 12px;
          font-family: SourceHanSansCN-Normal;
          font-weight: 400;
          color: rgba(255, 255, 255, 1);
          text-align: center;
          line-height: 0.3rem;
          position: absolute;
          right: 0.3rem;
          top: 0.15rem;
        }
      }
    }
  
    // 弹窗
    .layer {
      width: 100%;
      height: 100%;
      position: fixed;
      left: 0;
      top: 0;
      bottom: 0;
      right: 0;
      background: rgba(0, 0, 0, 0.7);
      z-index: 100;
      // 没有任务
      .layerNoTask {
        width: 5.62rem;
        height: 7.36rem;
        background: rgba(255, 255, 255, 1);
        border-radius: 0.2rem;
        -webkit-border-radius: 0.2rem;
        -moz-border-radius: 0.2rem;
        -ms-border-radius: 0.2rem;
        -o-border-radius: 0.2rem;
        z-index: 101;
        position: relative;
        .close {
          width: 0.3rem;
          height: 0.3rem;
          background: url("https://res.youth.cn/newActive/allCash/close.png");
          background-size: 100% 100%;
          position: absolute;
          right: 0.2rem;
          top: 0.2rem;
        }
        .noDataImg {
          width: 1.9rem;
          height: 1.9rem;
          background: url("https://res.youth.cn/newActive/allCash/layerNoData.png");
          background-size: 100% 100%;
          margin-top: 0.6rem;
        }
        .noDataText {
          font-size: 0.32rem;
          font-family: PingFang-SC-Medium;
          font-weight: 500;
          color: rgba(253, 99, 74, 1);
          margin-top: 0.3rem;
          margin-bottom: 0.4rem;
        }
        .layerTextItem {
          width: 4.6rem;
          height: auto;
          margin: 0 auto;
          .layerTextItemImg {
            width: 0.32rem;
            height: 0.34rem;
            background: url("https://res.youth.cn/newActive/allCash/layerTitle2.png");
            background-size: 100% 100%;
            margin-top: 0.1rem;
          }
          .layerTextItemText {
            width: 4.1rem;
            height: 0.85rem;
            font-size: 0.3rem;
            font-family: PingFang-SC-Medium;
            font-weight: 500;
            color: rgba(117, 117, 117, 1);
            line-height: 0.56rem;
            word-wrap: wrap;
            margin-left: 0.26rem;
          }
        }
  
        .layerTextItemTwo {
          width: 4.6rem;
          height: auto;
          margin: 0 auto;
          margin-top: 0.2rem;
          .layerTextItemImg {
            width: 0.32rem;
            height: 0.34rem;
            background: url("https://res.youth.cn/newActive/allCash/layerTitle1.png");
            background-size: 100% 100%;
            margin-top: 0.1rem;
          }
          .layerTextItemText {
            width: 4.1rem;
            height: 0.85rem;
            font-size: 0.3rem;
            font-family: PingFang-SC-Medium;
            font-weight: 500;
            color: rgba(117, 117, 117, 1);
            line-height: 0.56rem;
            word-wrap: wrap;
            margin-left: 0.26rem;
          }
        }
        .layerBtn {
          background: -webkit-gradient(
            linear,
            left top, right top,
            from(rgba(254, 125, 33, 1)),
            to(rgba(253, 92, 74, 1))
          );
          background: linear-gradient(
            90deg,
            rgba(254, 125, 33, 1) 0%,
            rgba(253, 92, 74, 1) 100%
          );
          width: 4.8rem;
          height: 0.88rem;
          text-align: center;
          line-height: 0.88rem;
          font-size: 0.34rem;
          font-family: PingFang-SC-Medium;
          font-weight: 500;
          color: rgba(255, 255, 255, 1);
          border-radius: 0.45rem;
          -webkit-border-radius: 0.44rem;
          -moz-border-radius: 0.44rem;
          -ms-border-radius: 0.44rem;
          -o-border-radius: 0.44rem;
          margin-top: 0.55rem;
        }
      }
    }
    // 规则弹窗
  
    .layerRule {
      width: 5.6rem;
      height: 8rem;
      background: rgba(255, 255, 255, 1);
      border-radius: 0.2rem;
      -webkit-border-radius: 0.2rem;
      -moz-border-radius: 0.2rem;
      -ms-border-radius: 0.2rem;
      -o-border-radius: 0.2rem;
      position: relative;
      z-index: 110;
      padding-bottom: 0.4rem;
      padding-top: 0.25rem;
      .layerRuleMain {
        width: 100%;
        height: 100%;
        overflow-y: scroll;
        .close {
          width: 0.3rem;
          height: 0.3rem;
          background: url("https://res.youth.cn/newActive/allCash/close.png");
          background-size: 100% 100%;
          position: absolute;
          right: 0.2rem;
          top: 0.2rem;
        }
  
        .layerRuleTitle {
          width: 2.4rem;
          height: 0.65rem;
          background: url("https://res.youth.cn/newActive/allCash/ruleTitle.png");
          background-size: 100% 100%;
          font-size: 0.36rem;
          font-family: PingFang-SC-Bold;
          font-weight: bold;
          text-align: center;
          line-height: 0.65rem;
          color: #333;
          margin-bottom: 0.2rem;
        }
        .ruleText {
          width: 4.8rem;
          height: auto;
          .ruleTextTitle {
            width: 100%;
            line-height: 0.5rem;
            font-size: 0.28rem;
            font-weight: 600;
            margin-bottom: 0.1rem;
          }
          .text {
            width: 100%;
            line-height: 0.4rem;
            font-size: 0.28rem;
          }
        }
      }
    }
  
    .layerAlert {
      width: 5.6rem;
      height: auto;
      background: #fff;
      border-radius: 0.2rem;
      -webkit-border-radius: 0.2rem;
      -moz-border-radius: 0.2rem;
      -ms-border-radius: 0.2rem;
      -o-border-radius: 0.2rem;
      .layerAlertTitle {
        font-size: 0.36rem;
        font-family: PingFang-SC-Bold;
        font-weight: bold;
        color: #333333;
        text-align: center;
        height: 1rem;
        line-height: 1.2rem;
      }
      .layerAlertInfo {
        width: 3.5rem;
        font-size: 0.3rem;
        font-family: PingFang-SC-Medium;
        color: #555;
        line-height: 0.5rem;
        text-align: center;
        margin-bottom: 0.5rem;
        margin-top: 0.05rem;
        .wxNum {
          width: 100%;
          height: auto;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }
        .wxNumTwo{
          width: 100%;
          height: auto;
        }
      }
    }
    .btns {
      width: 100%;
      height: 1rem;
      border-top: 1px solid #e7e7e7;
      overflow: hidden;
      .btnsLeft {
        width: 50%;
        height: 1rem;
        line-height: 1rem;
        text-align: center;
        font-size: 0.35rem;
        font-family: PingFang-SC-Medium;
        font-weight: 500;
        color: rgba(156, 156, 156, 1);
        border-right: 1px solid #e7e7e7;
      }
      .btnsRight {
        width: 50%;
        height: 1rem;
        line-height: 1rem;
        text-align: center;
        font-size: 0.33rem;
        font-family: PingFang-SC-Medium;
        font-weight: 500;
        color: #fd634a;
      }
    }
  }
  .swashIn {
    -webkit-animation: bounceIn 0.4s;
    animation: bounceIn 0.4s;
  }
  @-webkit-keyframes bounceIn {
    0% {
      opacity: 0;
      -webkit-transform: scale(0.3);
      transform: scale(0.3);
    }
    50% {
      opacity: 1;
      -webkit-transform: scale(1.05);
      transform: scale(1.05);
    }
    70% {
      -webkit-transform: scale(0.9);
      transform: scale(0.9);
    }
    100% {
      opacity: 1;
      -webkit-transform: scale(1);
      transform: scale(1);
    }
  }
  @keyframes bounceIn {
    0% {
      opacity: 0;
      -webkit-transform: scale(0.3);
      transform: scale(0.3);
    }
    50% {
      opacity: 1;
      -webkit-transform: scale(1.05);
      transform: scale(1.05);
    }
    70% {
      -webkit-transform: scale(0.9);
      transform: scale(0.9);
    }
    100% {
      opacity: 1;
      -webkit-transform: scale(1);
      transform: scale(1);
    }
  }
  